package homework;

public class Day03Extended {
    public static void main(String[] args) {
        int a=90,b=60;
        int b1=a>b?a:b;
        System.out.println(b1);

        if(a>b){
            System.out.println(a);
        }else{
            System.out.println(b);
        }

        int year = 2000;
        if(year%400==0){
            System.out.println(year+"是闰年");
        }else{
            System.out.println(year+"是平年");
        }
        int score =88;
        if(score<0||score>100){
            System.out.println("成绩不合法");
        }else if(score>=90){
            System.out.println("等级为A");
        }else if(score>80){
            System.out.println("等级为B");
        }else if(score>60){
            System.out.println("等级为C");
        }else{
            System.out.println("等级为D");
        }
    }
}
